using System;
using System.Collections.Generic;
using System.Text;

namespace EditWebSite.Presentation
{
    internal static class Messaggi
    {


        public static void Error(string Messaggio)
        {
            System.Windows.Forms.MessageBox.Show(Messaggio, "Errore", System.Windows.Forms.MessageBoxButtons.OK, System.Windows.Forms.MessageBoxIcon.Error);
        }

        public static void Attention(string Messaggio)
        {
            System.Windows.Forms.MessageBox.Show(Messaggio, "Attenzione", System.Windows.Forms.MessageBoxButtons.OK, System.Windows.Forms.MessageBoxIcon.Asterisk);
        }

        public static void Messagge(string Messaggio)
        {
            System.Windows.Forms.MessageBox.Show(Messaggio, "Messaggio", System.Windows.Forms.MessageBoxButtons.OK, System.Windows.Forms.MessageBoxIcon.None);
        }

        public static bool Confirm(string Messaggio)
        {
            return System.Windows.Forms.MessageBox.Show(Messaggio, "Attenzione", System.Windows.Forms.MessageBoxButtons.YesNo, System.Windows.Forms.MessageBoxIcon.Question) == System.Windows.Forms.DialogResult.Yes;
        }

    }
}
